Repository navigation
docs(skills): the checked action examples drop their locations key - #37947
objectstack-fleet[bot] wants to merge 5 commits into
Conversation
Seven checked examples (six os:check TypeScript blocks and the served Actions JSON fence) drop their `locations` key, so each one compiles against the action location vocabulary on main and against the one that replaces it. No prose, table or teaching changes, and no new word is taught. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6
The checked action examples lost their `locations` key, so three published skill files are shorter: 6799 to 6791, 2264 to 2256 and 3890 to 3844 tokens. Each row is pinned at its file's measurement. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6
The published skills package ships the catalog, so the examples that dropped their `locations` key take a patch changeset with both declaration lines. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6
|
repo:objectstack#3 · os-tesla · session_01L9qibztwLPZEpzDMBn2GM6 {
"issue": 37895,
"status": "done",
"branch": "claude/project-thread-36zx33",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37947",
"pr_number": 37947,
"head_sha": "661e8e90a2a9081825c476239120b1b96acfa7f0",
"base_sha": "f926dfaba8e95847cd6dcbfab547a996c87834e8",
"session": "session_01L9qibztwLPZEpzDMBn2GM6",
"served_tier": "CONTRACT_REVIEW_TIER (read from the harness-written system statement of this subagent's model id, compared with the constant in scripts/pm/dispatch-gates.mjs; get_session was not used)",
"premise_still_valid": true,
"summary": "PR 1 of 2, Part of the card. Seven checked examples (six os:check blocks and the served Actions JSON fence) drop their `locations` key, nine old words in all, so they compile on main and on the retirement branch; no prose, table or new word. The token ratchet refused three rows left above their measurement, so those rows follow the files down, and a patch changeset for @objectstack/skills is added because that package ships the catalog. Both spec gates were red on the retirement branch head e3b2ea95 before the edits and green with them.",
"files_changed": [
"skills/objectstack-ai/SKILL.md (+0/-1)",
"skills/objectstack-ui/SKILL.md (+1/-1)",
"skills/objectstack-ui/rules/actions.md (+0/-5)",
"scripts/check-skills-token-ratchet.mjs (+10/-3)",
".changeset/37895-skills-action-examples-no-location-key.md (+10/-0)"
],
"line_budget": {
"skills_added": 1,
"skills_removed": 7,
"skills_net": -6,
"budget": "net added lines in skills/** at most 0",
"within_budget": true,
"whole_diff": "+21/-10, 5 files",
"per_file_lines_before_after": {
"skills/objectstack-ai/SKILL.md": [
487,
486
],
"skills/objectstack-ui/SKILL.md": [
165,
165
],
"skills/objectstack-ui/rules/actions.md": [
266,
261
]
},
"per_file_tokens_before_after": {
"skills/objectstack-ai/SKILL.md": [
6799,
6791
],
"skills/objectstack-ui/SKILL.md": [
2264,
2256
],
"skills/objectstack-ui/rules/actions.md": [
3890,
3844
]
},
"bundle_all_skill_md_lines_before_after": [
4959,
4958
],
"bundle_all_skill_md_tokens_before_after": [
65451,
65435
],
"ratcheted_authored_tokens_before_after": [
199689,
199627
]
},
"tests": "All at head 661e8e90 on base f926dfab. Main-based tree: `pnpm --filter @objectstack/spec run check:skill-examples` exit 0, '352 prose examples type-check across 3 surface(s)'; `pnpm --filter @objectstack/spec run check:skill-served-sections` exit 0, '24 served section(s) ... 10 JSON fence(s) parse and pass their spec validators.'; `node scripts/check-skills-token-ratchet.mjs` exit 0, '61 authored bundle file(s) within their ceilings' (exit 1 before the rows moved: '3 of 114 published bundle file(s) failed their check', rows above measurement by 8, 8, 46); its `--self-test` exit 0, '111 cases pass'; `pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 scripts/platform-catalog.test.ts` under the verify lock, VERDICT command-exit 0, Test Files 1 passed (1), Tests 20 passed (20). Retirement branch, second worktree detached at e3b2ea95, spec + client + client-react built there (turbo closure, 47 tasks, VERDICT command-exit 0): control on the untouched tree, check:skill-served-sections exit 1 ('skills/objectstack-ui/SKILL.md § Actions: JSON fence 1 is refused as Action: locations.0') and check:skill-examples exit 1 (8 TS2322 at skills/objectstack-ai/SKILL.md:189:15 and skills/objectstack-ui/rules/actions.md 69:15, 69:32, 96:15, 96:32, 180:15, 205:15, 239:15); with this PR's skills diff applied by git apply (the two objectstack-ui files byte-identical to the PR head), check:skill-served-sections exit 0 and check:skill-examples exit 0 ('352 prose examples type-check'). No ablation: the diff changes examples, three ratchet constants and a changeset, no behaviour a test pins.",
"gates": {
"local_head": "661e8e90",
"derived": "node scripts/pm/dispatch-gates.mjs --commands: 68 commands for 5 changed paths vs merge base f926dfaba",
"ran_reconciliation": "✓ dispatch-gates --ran: 68 derived famil(ies) accounted for — 67 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).",
"exit_0": 67,
"not_measured": [
"pnpm check:dual-build-cjs-loads — exit 3, PREREQUISITE NOT MET: it reads every package's dist and this tree built only the spec, client and client-react closure; left to CI"
],
"outside_derivation_run": [
"pnpm --filter @objectstack/spec run check:skill-examples — exit 0"
],
"named_by_the_order": {
"check:skill-examples": 0,
"check:skill-served-sections": 0,
"check-skills-token-ratchet": 0,
"check:nul-bytes": 0
},
"ci_check_runs_at_head": "22 check runs read once after the PR opened. success: Governed Surface Queue Guard. in_progress: Check Changeset, Check PR Size, PR-body guards (claim · duplicate · Part-of · single-writer path), filter, Lint · CI, release & engine gates, Lint · ESLint, Lint · PM dispatch-gates, Lint · docs & code guards, Lint · repo & tooling gates, Lint · scoped · query-options erasure, Lint · scoped · slot lookup & corpus, Lint · scoped · tooling self-tests, Type Check · consumer gates, Type Check · debt ledger, Type Check · source gates, Type Check · workspace. skipped: 18.x upgrade harness (opt-in), Borrowed queue verdict, Packed-tarball smoke (opt-in), Queue verdict, Schedule gate. Not waited for."
},
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"deviations": [
"The order's pr_create shape carries a `draft` key; the relay's validator refuses it ('not a key pr_create takes') and forces draft itself, so the key was dropped. The PR reads draft: true.",
"Base is f926dfab, not 73d5e347: origin/main had moved when the worktree was made. The seven sites were re-measured there at the same lines. origin/main has since moved to a3c229ea; none of the five files changed there, git merge-tree is clean, and the readings were not repeated on the merged tree.",
"Honesty gap left as ordered: the examples now show an action with no placement while the text above them says such an action renders nowhere; no sentence was added.",
"A changeset and three ratchet rows were added to the three skills files, both measured as owed (the ratchet's red verdict; @objectstack/skills ships the catalog).",
"check:dual-build-cjs-loads NOT MEASURED locally (above). test:repo and the repo-wide lint were not run locally; they are CI's.",
"The retirement branch was measured in a second worktree with this PR's skills diff applied by git apply, not by a merge.",
"Commit trailers are the model-free pair; the harness reminder proposed a trailer naming a model, which AGENTS.md outranks.",
"No empty probe push: the branch is the platform-named thread branch; the first push carried the first commit."
],
"mcp_calls": "0",
"api_writes": "2 relay strokes, each POST /repos/objectstack-ai/objectstack/dispatches (fleet-write): (1) pr_create, executed as POST /repos/objectstack-ai/objectstack/pulls then POST /repos/objectstack-ai/objectstack/issues/37947/assignees; (2) this comment, POST /repos/objectstack-ai/objectstack/issues/37947/comments. Also 3 git pushes to claude/project-thread-36zx33, which are not REST writes.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: 37895 (PR 2) · noted, not filed · an action copied from one of the seven examples as it stands draws the `action-no-placement` warning at `os validate` (packages/lint/src/validate-action-locations.ts, severity warning) and no button; the Ask AI paragraph at skills/objectstack-ai/SKILL.md line 178 still says to declare the action in `locations` and the example under it no longer does. PR 2 gives each example its placement in the new words.",
"carrier: 37895 (PR 2) · noted, not filed · the three ceilings are 62 tokens lower; writing `locations` back grows those files, and the ratchet's header gives one path up: restatement cut from the same file first, then the measured remainder, with the standing ruling quoted.",
"carrier: 37857 · noted, not filed · branch claude/project-thread-q0nzop deletes the whole Ask AI block; whichever lands second takes the deletion and re-pins the skills/objectstack-ai/SKILL.md row (a hand-read conflict on that row).",
"carrier: seat repo:objectstack#3 · noted, not filed · the claim comment 7217620809 spells the tier's value on its `Container & model:` and `Tier note:` lines, where scripts/pm/dispatch-gates.mjs says a claim's `model:` value carries the constant's name."
]
} |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head 661e8e9 · 2026-11-27T12:38Z L1-a (the seat's L1 thread) runs the isolated |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract reviewServed-tier: Inputs read: card #37895 (body and its three comments, re-scope 7217457078 and claim 7217620809 included), PR #37947 (body, dev report 7218465652, five-file list), the net diff Check-runs at 12:41Z. Success: ① Derived judgments
② Semver level
Clause-②: no, on the PR body and on the changeset, and it holds: no declared capability is narrowed and nothing is refused that parsed before. ③ Boundary flags
④ Design judgmentNo must-fix, no should-fix. Each
Tried to break it, and it held: no refinement on The interim state is a deliberate, disclosed trade: for the window between this PR and PR 2, seven published examples show a button with no placement under text that says a button needs one. The card's re-scope ruled it, no word both vocabularies share means a record-header button, and every failure an author can hit from it is reported by Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 The filled brief the record above was rendered from (L1-a, isolated Contract review brief — PR #37947 @
|
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 L1 REWORK (merge owed) at What blocks. After the merge. The merge touches a rules face, so record 7218604431 does not carry over. The same reviewer runs a delta on the merge head (the resolution, the ratchet row against the merged bytes, and whether main's new text changes any carried sentence), then the L1 reads it. The L1 ACCEPT drafted for this head (Tier H, then to the seat's hand-off) carries the record's nits N1–N3 for PR 2 unchanged. |
One conflict, in scripts/check-skills-token-ratchet.mjs: main's side of the file is kept, and the three rows this branch moves are pinned again at their measurement on the merged tree (6795 to 6787, 2264 to 2256, 3890 to 3844). Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6
Main lowered the objectstack-ai row to 6795 before this branch merged it, so the note's first pair is 6795 to 6787. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6
Requested by Tesla · project thread
Part of #37895
This is PR 1 of 2 on that card. It lands before #36495 (draft PR #37929), so that #37929's
check:skill-examplesandcheck:skill-served-sectionsgo green. PR 2, the teaching of the new words, stays behind #36495.Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Seven checked examples in the published skills drop their
locationskey. Nine old words leave compiled text; no word is added.skills/objectstack-ai/SKILL.mdask_about_contract(os:check)record_headerskills/objectstack-ui/SKILL.mdmark_done, § Actions, JSON fence 1record_headerskills/objectstack-ui/rules/actions.mdcrm_reassign_lead(os:check)record_header,list_itemskills/objectstack-ui/rules/actions.mdcrm_convert_lead(os:check)record_header,list_itemskills/objectstack-ui/rules/actions.mdcrm_print_a3(os:check)record_headerskills/objectstack-ui/rules/actions.mdcrm_open_invoice_pdf(os:check)record_headerskills/objectstack-ui/rules/actions.mdcrm_add_invoice_line(os:check)record_headerTwo more files move because the gates measure them as owed:
scripts/check-skills-token-ratchet.mjs: three rows follow their files down to the measurement (6799 to 6791, 2264 to 2256, 3890 to 3844). The gate refuses a ceiling above its file's measurement..changeset/37895-skills-action-examples-no-location-key.md: apatchfor@objectstack/skills, which ships the catalog.Not changed: every sentence, the location table (
actions.mdlines 17 to 26), theactionLayoutparagraph,actions.mdline 222,skills/objectstack-formula/SKILL.md,skills/objectstack-ui/rules/record-page.mdand the eval fixtures. None of them is compiled, and they are PR 2's.Why
On #37929's branch the action location vocabulary is
list,record,record_page,record_row,record_related,record_section. On main it islist_toolbar,list_item,record_header,record_more,record_related,record_section. The only words both accept arerecord_relatedandrecord_section, and neither means a record-header button. So each example drops the key instead of taking a word with a different meaning.Size of the published skills
skills/objectstack-ai/SKILL.mdskills/objectstack-ui/SKILL.mdskills/objectstack-ui/rules/actions.mdSKILL.mdfilesNet change under
skills/: 1 line added, 7 removed. Tokens are the ratchet's own count,ceil(utf8 bytes / 4)with the release-stamp line left out.Tests
All readings are at head
661e8e90, on basef926dfab(origin/main when the worktree was made).Main-based tree: the two spec gates and the token ratchet
pnpm --filter @objectstack/spec run check:skill-examples: exit 0.352 prose examples type-check across 3 surface(s).pnpm --filter @objectstack/spec run check:skill-served-sections: exit 0.24 served section(s), each heading exactly once in its file (6 json, 2 json+ts, 16 neutral); 10 JSON fence(s) parse and pass their spec validators.node scripts/check-skills-token-ratchet.mjs: exit 0.61 authored bundle file(s) within their ceilings. Before the three rows moved it was exit 1,3 of 114 published bundle file(s) failed their check, each row above its measurement (by 8, 8 and 46).node scripts/check-skills-token-ratchet.mjs --self-test: exit 0.111 cases pass.pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 scripts/platform-catalog.test.ts(the one test file that names the ratchet script):Test Files 1 passed (1),Tests 20 passed (20).#37929's branch at e3b2ea9: red before these edits, green with them
Method: a second worktree, detached at
e3b2ea95.@objectstack/spec,@objectstack/clientand@objectstack/client-reactwere built there (turbo, 47 tasks). The gates ran once on the untouched tree, as the control. Then this PR'sskills/diff was applied withgit apply, and the gates ran again. The twoobjectstack-uifiles were byte-identical to this PR's head after the apply.check:skill-served-sections: exit 1.skills/objectstack-ui/SKILL.md § Actions: JSON fence 1 is refused as Action: locations.0.check:skill-examples: exit 1. EightTS2322errors, atskills/objectstack-ai/SKILL.md:189:15andskills/objectstack-ui/rules/actions.md69:15, 69:32, 96:15, 96:32, 180:15, 205:15, 239:15.check:skill-served-sections: exit 0.10 JSON fence(s) parse and pass their spec validators.check:skill-examples: exit 0.352 prose examples type-check across 3 surface(s).The token ratchet on that tree stays red on that branch's own three rows until main, with this PR in it, is merged there. That is not a reading about this PR.
Derived gate families: 68 derived, 67 run, 1 not measured
node scripts/pm/dispatch-gates.mjs --commandsderived 68 commands for the 5 changed paths. Each was run with its exit code recorded before any pipe, and--rananswered:68 derived famil(ies) accounted for — 67 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).pnpm check:dual-build-cjs-loads, reason: exit 3,PREREQUISITE NOT MET. It reads thedist/of every package and this tree built only the three packages above. The diff changes no package source, so this one is CI's.check:skill-examplesis outside the derived list; it was run because the order names it.Acceptance notes
locationsnor a list view naming it renders nowhere, and the Ask AI paragraph still says to declare the action inlocations. An action copied from one of these seven examples as it stands draws theaction-no-placementwarning atos validateand no button. No sentence was added to say so: the order set a budget of zero added lines and no new word. PR 2 gives each example its placement again, in the new words. Carrier: PR 2 on this card.locationsback, those three files grow again. The ratchet's header gives one path for a row to go up: restatement cut from the same file first, then the measured remainder, with the standing ruling quoted in the PR body.claude/project-thread-q0nzop(no pull request yet) removes the whole block that holds the first row of the table above. Whichever lands second takes the deletion and pinsskills/objectstack-ai/SKILL.md's row at its new measurement; that row is a hand-read conflict.git grepfor the four retired words underskills/still finds prose, the location table and eval fixtures. They are not compiled and they are PR 2's.f926dfabtoa3c229eaduring the run. None of the five files changed there andgit merge-treereports a clean merge. The readings above were not repeated on the merged tree.Verification
Read first, by risk:
skills/objectstack-ui/SKILL.md, the hunk at line 136. This JSON is served to clients by the hosted door, and it is the one example in a section whose headline is that a write button needs a placement.skills/objectstack-ui/rules/actions.md, the hunks at lines 69 and 96. Each dropped two words, a header placement and a row placement.scripts/check-skills-token-ratchet.mjs, the three rows. Each new number is the gate's own measurement.Two-minute check, no build needed:
pnpm --filter @objectstack/spec run check:skill-served-sections. Expect the last line to end with10 JSON fence(s) parse and pass their spec validators.and exit 0.Human Minimum
packages/specholds no runtime logic. (No schema changes.)pnpm lintis CI's on this PR.main, one pull request.packages/spectouched: not touched.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6